package game.core
{
	public class RxState
	{
		private var m_name:String;
		private var m_function:Function;
		private var m_disposable:Boolean;
		
		public function RxState(name:String, func:Function, disposable:Boolean)
		{
			this.m_name = name;
			this.m_function = func;
			this.m_disposable = disposable;
		}
		
		public function get Name() : String
		{
			return this.m_name;
		}
		
		public function get Func() : Function
		{
			return this.m_function;
		}
		
		public function get Disposable() : Boolean
		{
			return this.m_disposable;
		}
	}
}